|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Agent
agents.anac.y2011.TheNegotiator.TheNegotiator
public class TheNegotiator
The TheNegotiator class specifies a negotiation agent in the GENIUS domain.
| Field Summary |
|---|
| Fields inherited from class negotiator.Agent |
|---|
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace |
| Constructor Summary | |
|---|---|
TheNegotiator()
|
|
| Method Summary | |
|---|---|
Action |
chooseAction()
Choose an action to perform. |
java.lang.String |
getName()
|
static java.lang.String |
getVersion()
|
void |
init()
init is called when a next session starts with the same partner. |
void |
ReceiveMessage(Action partnerAction)
Store the actions made by a partner. |
| Methods inherited from class negotiator.Agent |
|---|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TheNegotiator()
| Method Detail |
|---|
public void init()
init in class Agentpublic static java.lang.String getVersion()
public java.lang.String getName()
getName in class Agentpublic void ReceiveMessage(Action partnerAction)
ReceiveMessage in class Agentaction - by partner in current turnpublic Action chooseAction()
chooseAction in class Agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||